import 'package:flutter/material.dart';

class ConformDialog extends StatelessWidget {
  final String title;
  final String msg;
  final String conformText;
  final VoidCallback onConform;

  ConformDialog({
    super.key,
    required this.title,
    required this.msg,
    required this.onConform,
    this.conformText = "删除",
  });

  @override
  Widget build(BuildContext context) {
    return Dialog(
      child: Padding(
        padding:const EdgeInsets.all(20.0),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          mainAxisSize: MainAxisSize.min,
          children: [
            // _buildTitle(),
            // _buildMessages(),
            // _buildButtons(context)
          ],
        ),
      ),
    );
  }
}
